<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>

  <div id="box">
    你好
  </div>
  <!-- <script src="http://libs.baidu.com/jquery/2.1.4/jquery.min.js"></script> -->
  <!-- jsonp的原理 页面中动态的script标签  script标签的src 属性有跨域能力 -->
  <script>
    // 请求地址 http://libs.baidu.com/jquery/2.1.4/jquery.min.js
    var script = document.createElement("script");
    script.src = "http://libs.baidu.com/jquery/2.1.4/jquery.min.js"
    document.body.appendChild(script)
  </script>
  <script>
    setTimeout(function () {
      $("#box").css("color", "red")
    }, 0)




  </script>
</body>

</html>